﻿using EquipmentManagement.Domain.Entities;
using Standard;
using Standard.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EquipmentManagement.Application.IServices
{
    /// <summary>
    /// 工装夹具接口
    /// </summary>
    public interface IToolingFixturesService
    {
        /// <summary>
        /// 添加工装夹具
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<int> Add(ToolingFixtures model);
        /// <summary>
        /// 删除工装夹具(软删除)
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ApiResult<int> Delete(string id);
        /// <summary>
        /// 修改工装夹具
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<int> Update(ToolingFixtures model);
        /// <summary>
        /// 获取工装夹具
        /// </summary>
        ApiPaging<ToolingFixtures> Get(PagingInput paging,string? SerialNumber,string? TypeId,string? UnitId);

    }
}
